package com.shenghui.enterprise.base.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 字典主表 实体类信息
 * @Author houjh
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-06-01
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */
@ApiModel(value="字典主表对象", description="字典主表")
public class BaseDataDictionary extends Model<BaseDataDictionary> {

	private static final long serialVersionUID = 1L;

	/**
	 * 字典ID信息
	 */
	@ApiModelProperty(value = "字典ID信息")
	@TableId(value = "data_dictionary_id", type = IdType.ASSIGN_UUID)
	private String dataDictionaryId;
	/**
	 * 字典名称
	 */
	@ApiModelProperty(value = "字典名称")
	private String name;
	/**
	 * 字典父级类
	 */
	@ApiModelProperty(value = "字典父级类")
	private String parentId;
	/**
	 * 字典CODE码
	 */
	@ApiModelProperty(value = "字典CODE码")
	private String code;
	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	private Integer state;
	/**
	 * 排序值
	 */
	@ApiModelProperty(value = "排序值")
	private Integer orderValue;
	/**
	 * 备注信息
	 */
	@ApiModelProperty(value = "备注信息")
	private String remark;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createDate;
	/**
	 * 创建人ID
	 */
	@ApiModelProperty(value = "创建人ID")
	private String createUserId;


	public String getDataDictionaryId() {
		return dataDictionaryId;
	}

	public void setDataDictionaryId(String dataDictionaryId) {
		this.dataDictionaryId = dataDictionaryId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getOrderValue() {
		return orderValue;
	}

	public void setOrderValue(Integer orderValue) {
		this.orderValue = orderValue;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public LocalDateTime getCreateDate() {
		return createDate;
	}

	public void setCreateDate(LocalDateTime createDate) {
		this.createDate = createDate;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	@Override
	protected Serializable pkVal() {
		return this.dataDictionaryId;
	}

}
